package com.jiajia.study.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * HR发布的职位表
 * </p>
 *
 * @author zjj
 * @since 2024-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("job")
@ApiModel(value="Job对象", description="HR发布的职位表")
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "谁的职位，HR角色用户id")
    private String hrId;

    @ApiModelProperty(value = "职位所属哪家公司的，HR离职后则不能查询到")
    private String companyId;

    @ApiModelProperty(value = "职位名称")
    private String jobName;

    @ApiModelProperty(value = "职位类别")
    private String jobType;

    @ApiModelProperty(value = "工作经验年限")
    private String expYears;

    @ApiModelProperty(value = "技能标签")
    private String edu;

    @ApiModelProperty(value = "薪资要求区间-起始")
    private Integer beginSalary;

    @ApiModelProperty(value = "薪资要求区间-结束")
    private Integer endSalary;

    @ApiModelProperty(value = "总共几个月工资")
    private Integer monthlySalary;

    @ApiModelProperty(value = "职位描述")
    private String jobDesc;

    @ApiModelProperty(value = "职位标签")
    private String tags;

    @ApiModelProperty(value = "工作城市")
    private String city;

    @ApiModelProperty(value = "工作地点")
    private String address;

    @ApiModelProperty(value = "1：招聘中，open 2：已关闭，close 3：违规删除，delete")
    private Integer status;

    @ApiModelProperty(value = "违规原因")
    private String violateReason;

    private LocalDateTime createTime;

    private LocalDateTime updatedTime;


}
